/*
 * common.h
 *
 *  Created on: Feb 8, 2013
 *      Author: George
 */

/*System's module header files*/
#include "support_common.h"
#include "pit.h"
#include "gpio.h"
#include "qspi.h"
#include "ledMatrix.h"
#include "note.h"
#include "speaker_pwm.h"
#include "gpt.h"
#include "int_en.h"
#include "int_module.h"
#include "game.h"
#include "utils.h"
#include "nunchuk.h"
#include "i2c.h"
#include "dtim.h"
/*Necessary libraries*/
#include <stdio.h>
#include <cstdlib>
#include <stdlib.h>


/*Global Definitions*/

/*Main header*/
#ifndef COMMON_H_
#define COMMON_H_

#define IDLE 0
#define WON 1
#define LOST 2
#define RUNNING 3


#define BLACK 0
#define RED 1
#define GREEN 2
#define ORANGE 3

#define NONE 4
#define UP 0
#define DOWN 2
#define RIGHT 1
#define LEFT 3


extern int program_mode;
extern int PlayerDirection;


void init();
int main(void);


#endif /* COMMON_H_ */
